canScrollVertically

open fun canScrollVertically(view: View, direction: Int): Boolean(source)

Deprecated

Use canScrollVertically directly.

Check if this view can be scrolled vertically in a certain direction.

Return

true if this view can be scrolled in the specified direction, false otherwise.

Parameters

view

The View against which to invoke the method.

direction

Negative to check scrolling up, positive to check scrolling down.